<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="themes/icon.css">
    <script type="text/javascript" src="/jquery.min.js"></script>
    <script type="text/javascript" src="/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#grid').datagrid({
                url: 'user/getUsers',
                fit: true,
                columns: [[
                    {field: 'id', title: '编号', width: 50},
                    {field: 'username', title: '姓名'},
                    {field: 'address', title: '住址'},
                    {field: 'del', title:'删除',width: 100}
                ]]
            });
        });
    </script>
</head>
<body>
<table id="grid"></table>
</body>
</html>